package com.slanmao.common.entity;

import lombok.Data;

/**
 * <CODE>MapResponse</CODE>
 * 高德地图响应
 * @author fenrir
 * @Date 19-3-7
 */
@Data
public class MapResponse {

    private String status;

    private String info;

    private regeocode regeocode;

    public String getFullAddress(){
        return regeocode.getFormatted_address();
    }
}

class regeocode{

    private String formatted_address;

    public String getFormatted_address() {
        return formatted_address;
    }

    public void setFormatted_address(String formatted_address) {
        this.formatted_address = formatted_address;
    }
}